Repository navigation
P4-12: risk and replacement order - #496
Merged
Merged
Conversation
The design orders the capabilities for replacement, with no model (docs/pipeline-4.md, section 4 D11), and writes design/order.json with each place's wave and reason. - Three waves, from each capability's risk and what it touches (P3-24): read-only first (reporting only, or nothing on the list, and low risk); then updates (record updates, card or personal data); then money, security and audit, or any high-risk capability, last. - Within a wave: lower risk first, then final capabilities before drafts, then the specifications' own order. - A capability that shares a data contract or a screen with one already placed follows it at once, within its own wave. Sharing never pulls a money or security capability into an earlier wave. - Each place says why in words, for example "Money, security or audit, so last: it touches security; high risk." or "... Follows View an account: they share CVACT01Y." - The design page has an "Order of replacement" table linking each capability. The package's constitution replaces its placeholder line 6 with the rule and an "Order of replacement" list. Claude Code's tasks.md is in that order, and every form's tasks for a capability say where it comes and why. The package's data-contracts.md now speaks of copybooks, tables or entities (L1-06's contracts). Tests: the three waves and their reasons, the order within a wave, shared data and screens kept together, a shared contract never moving a capability to an earlier wave, and a whole design round's page, constitution and tasks in each form. Prepared with AI assistance.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
P4-12 (#422), part of #386. Specification: docs/pipeline-4.md, section 4 D11.
Stacked on #495 (release 1.1), which is stacked on #494 and #493. Retarget to
developonce those are merged.The design orders capabilities for replacement with no model, from each one's risk and what it touches:
Within a wave the order is lower risk first, then final before draft. A capability that shares a data contract or a screen with one already placed follows it at once, but never moves into an earlier wave. Each place gives its reason in words.
Where the order shows:
tasks.md: capabilities in that order;The package's
data-contracts.mdheading also now covers tables and entities, a follow-on from L1-06.Checked locally with the
devextra:ruff check src testspasses,mypyfinds no issues, and the 526 tests pass.Prepared with AI assistance.